package com.xbongbong.pay.platform.wechatpay.config;

import lombok.Getter;
import lombok.Setter;
import org.apache.http.impl.client.CloseableHttpClient;

import java.security.KeyPair;

/**
 * 微信配置元数据
 * @author 魏荣杰
 * @date 2021/1/14 14:10
 * @since
 * @version
 */
@Getter
@Setter
public class WeChatPayMeta {
    /**
     * 秘钥对
     */
    private KeyPair keyPair;
    /**
     * 证书号
     */
    private String serialNumber;
    /**
     * 商户id
     */
    private String mchId;
    /**
     * The V3. 配置
     */
    private WeChatPayConfig.V3 v3;
    /**
     * 微信client
     */
    private CloseableHttpClient wechatClient;
}
